package com.kk.springboot_001.mapper;

import com.kk.springboot_001.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from tb_user where user_name=#{username}")
    User selectUserByName(String username);
}
